#ifndef __SCNS_ICM42605_H__
#define __SCNS_ICM42605_H__

#include "ScnsConfig.h"

#if defined(SCNS_ICM42605_ENABLE)&&SCNS_ICM42605_ENABLE==1

#include "ScnsBspIcm42605.h"

#include "ScnsYing.h"
#include "ScnsGyro.h"

typedef enum
{
    SCNS_ICM42605_STATUS_OK=SCNS_YING_STATUS_OK,
    SCNS_ICM42605_STATUS_BSP_FAILED=SCNS_YING_STATUS_BSP_FAILED,
    SCNS_ICM42605_STATUS_FAILED=SCNS_YING_STATUS_FAILED,
    SCNS_ICM42605_STATUS_TIME_OUT=SCNS_YING_STATUS_TIME_OUT,
}ScnsIcm42605Status;

extern ScnsIcm42605Status scnsIcm42605Init(ScnsIcm42605Enum icmN);
extern ScnsGyroSource scnsIcm42605Read(ScnsIcm42605Enum icmN);

#endif
#endif
